package com.sztx.pay.center.dataaccess.domain;

import com.sztx.se.dataaccess.mysql.domain.BaseDO;

import java.util.Date;

@SuppressWarnings("serial")
public class OrderRechargeDO extends BaseDO {
	/**
	 * 充值记录ID
	 */
	private String rechargeOrderId;

	/**
	 * 充值用户内部ID
	 */
	private String payerUserId;

	/**
	 * 充值用户账户ID
	 */
	private String payerUserAct;

	/**
	 * 充值金额
	 */
	private Long rechargeAmount;

	/**
	 * 充值手续费
	 */
	private Long rechargeFee;

	/**
	 * 实际金额
	 */
	private Long payAmount;

	/**
	 * 充值状态,0:初始态,1:充值中,2:充值失败,3:充值成功,4:充值异常
	 */
	private Byte orderStatus;

	/**
	 * 支付类型，0网银，1快捷支付等
	 */
	private Byte payType;

	/**
	 * 渠道ID
	 */
	private String payChannelId;

	/**
	 * 银行编号
	 */
	private String payBankId;

	/**
	 * 关联ID，绑卡关联ID
	 */
	private String payerBindNo;

	/**
	 * 充值时间
	 */
	private Date addTime;

	/**
	 * 更新时间
	 */
	private Date updateTime;

	/**
	 * 实际支付时间
	 */
	private Date payTime;

	/**
	 * 充值订单渠道，0网站，1手机等
	 */
	private Byte rechargeChannel;

	/**
	 * 内部状态，0正常，1作废
	 */
	private Integer innerStatus;

	/**
	 * 来源IP
	 */
	private String sourceIp;

	/**
	 * 前端回调通知URL
	 */
	private String notifyUrl;

	/**
	 * 后端回调返回URL
	 */
	private String returnUrl;

	/**
	 * 外部订单号
	 */
	private String orderId;

	/**
	 * 备注
	 */
	private String remark;

	/**
	 * 平台渠道id
	 */
	private String platChannelId;

	/**
	 * 内部状态描述
	 */
	private String innerDesc;
	/**
	 * 订单描述
	 */
	private String orderDesc;

	/**
	 * 业务类型(mobileCharge、weChatMall.....)
	 */
	private String businessType;

	/* =============== 上面是B2C交易记录表中的单表数据字段映射，下面则是连表所查的外部表字段映射 */

	/**
	 * 业务类型描述
	 * 
	 * 映射：risk_trade_type.trade_type_name
	 */
	private String businessTypeDes;

	/**
	 * 渠道ID，收款方账号
	 */
	private String payeeUserId;

	/**
	 * 银行卡名称
	 * 
	 * 映射：user_bind_card.bank_name
	 */
	private String bankName;

	/**
	 * 银行卡号
	 * 
	 * 映射：user_bind_card.card_no
	 */
	private String bankCardNo;

	/**
	 * 银行卡对公还是对私
	 * 
	 * 映射：user_bind_card.card_act_type
	 */
	private Integer bankCardActType;

	/**
	 * 银行卡类型
	 * 
	 * 映射：user_bind_card.card_type
	 */
	private Integer bankCardType;

	/**
	 * 充值订单是否做了绑卡操作
	 */
	private int isBindCard;

	/**
	 * 支付参数
	 */
	private String payParams;

	public String getPayParams() {
		return payParams;
	}

	public void setPayParams(String payParams) {
		this.payParams = payParams;
	}

	public int getIsBindCard() {
		return isBindCard;
	}

	public void setIsBindCard(int isBindCard) {
		this.isBindCard = isBindCard;
	}

	public String getPlatChannelId() {
		return platChannelId;
	}

	public void setPlatChannelId(String platChannelId) {
		this.platChannelId = platChannelId;
	}

	public String getBusinessType() {
		return businessType;
	}

	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}

	/**
	 * @return recharge_order_id
	 */
	public String getRechargeOrderId() {
		return rechargeOrderId;
	}

	/**
	 * @param rechargeOrderId
	 */
	public void setRechargeOrderId(String rechargeOrderId) {
		this.rechargeOrderId = rechargeOrderId;
	}

	/**
	 * @return payer_user_id
	 */
	public String getPayerUserId() {
		return payerUserId;
	}

	/**
	 * @param payerUserId
	 */
	public void setPayerUserId(String payerUserId) {
		this.payerUserId = payerUserId;
	}

	/**
	 * @return recharge_amount
	 */
	public Long getRechargeAmount() {
		return rechargeAmount;
	}

	/**
	 * @param rechargeAmount
	 */
	public void setRechargeAmount(Long rechargeAmount) {
		this.rechargeAmount = rechargeAmount;
	}

	/**
	 * @return recharge_fee
	 */
	public Long getRechargeFee() {
		return rechargeFee;
	}

	/**
	 * @param rechargeFee
	 */
	public void setRechargeFee(Long rechargeFee) {
		this.rechargeFee = rechargeFee;
	}

	/**
	 * @return pay_amount
	 */
	public Long getPayAmount() {
		return payAmount;
	}

	/**
	 * @param payAmount
	 */
	public void setPayAmount(Long payAmount) {
		this.payAmount = payAmount;
	}

	/**
	 * @return pay_type
	 */
	public Byte getPayType() {
		return payType;
	}

	/**
	 * @param payType
	 */
	public void setPayType(Byte payType) {
		this.payType = payType;
	}

	public String getPayerBindNo() {
		return payerBindNo;
	}

	public void setPayerBindNo(String payerBindNo) {
		this.payerBindNo = payerBindNo;
	}

	/**
	 * @return add_time
	 */
	public Date getAddTime() {
		return addTime;
	}

	/**
	 * @param addTime
	 */
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	/**
	 * @return update_time
	 */
	public Date getUpdateTime() {
		return updateTime;
	}

	/**
	 * @param updateTime
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	/**
	 * @return pay_time
	 */
	public Date getPayTime() {
		return payTime;
	}

	/**
	 * @param payTime
	 */
	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	/**
	 * @return recharge_channel
	 */
	public Byte getRechargeChannel() {
		return rechargeChannel;
	}

	/**
	 * @param rechargeChannel
	 */
	public void setRechargeChannel(Byte rechargeChannel) {
		this.rechargeChannel = rechargeChannel;
	}

	/**
	 * @return inner_status
	 */
	public Integer getInnerStatus() {
		return innerStatus;
	}

	/**
	 * @param innerStatus
	 */
	public void setInnerStatus(Integer innerStatus) {
		this.innerStatus = innerStatus;
	}

	/**
	 * @return source_ip
	 */
	public String getSourceIp() {
		return sourceIp;
	}

	/**
	 * @param sourceIp
	 */
	public void setSourceIp(String sourceIp) {
		this.sourceIp = sourceIp;
	}

	/**
	 * @return notify_url
	 */
	public String getNotifyUrl() {
		return notifyUrl;
	}

	/**
	 * @param notifyUrl
	 */
	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}

	/**
	 * @return return_url
	 */
	public String getReturnUrl() {
		return returnUrl;
	}

	/**
	 * @param returnUrl
	 */
	public void setReturnUrl(String returnUrl) {
		this.returnUrl = returnUrl;
	}

	/**
	 * @return order_id
	 */
	public String getOrderId() {
		return orderId;
	}

	/**
	 * @param orderId
	 */
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	/**
	 * @return remark
	 */
	public String getRemark() {
		return remark;
	}

	/**
	 * @param remark
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getPayerUserAct() {
		return payerUserAct;
	}

	public void setPayerUserAct(String payerUserAct) {
		this.payerUserAct = payerUserAct;
	}

	public Byte getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Byte orderStatus) {
		this.orderStatus = orderStatus;
	}

	public String getPayChannelId() {
		return payChannelId;
	}

	public void setPayChannelId(String payChannelId) {
		this.payChannelId = payChannelId;
	}

	public String getPayBankId() {
		return payBankId;
	}

	public void setPayBankId(String payBankId) {
		this.payBankId = payBankId;
	}

	public String getInnerDesc() {
		return innerDesc;
	}

	public void setInnerDesc(String innerDesc) {
		this.innerDesc = innerDesc;
	}

	public String getOrderDesc() {
		return orderDesc;
	}

	public void setOrderDesc(String orderDesc) {
		this.orderDesc = orderDesc;
	}

	public String getBusinessTypeDes() {
		return businessTypeDes;
	}

	public void setBusinessTypeDes(String businessTypeDes) {
		this.businessTypeDes = businessTypeDes;
	}

	public String getPayeeUserId() {
		return payeeUserId;
	}

	public void setPayeeUserId(String payeeUserId) {
		this.payeeUserId = payeeUserId;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getBankCardNo() {
		return bankCardNo;
	}

	public void setBankCardNo(String bankCardNo) {
		this.bankCardNo = bankCardNo;
	}

	public Integer getBankCardActType() {
		return bankCardActType;
	}

	public void setBankCardActType(Integer bankCardActType) {
		this.bankCardActType = bankCardActType;
	}

	public Integer getBankCardType() {
		return bankCardType;
	}

	public void setBankCardType(Integer bankCardType) {
		this.bankCardType = bankCardType;
	}

}